GtkWindow: Move cairo_save/restore from marshaller
authorAlexander Larsson <alexl@redhat.com>
Thu, 25 Apr 2013 12:00:18 +0000 (14:00 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 7 May 2013 14:33:01 +0000 (16:33 +0200)
commit6c7689506f8b6c71522e6c8a25a2b4523641592c
tree8049a405a45cca7b05ef154008aeceff227c1aff
parentc3bff30b504f80f9c8bc451bb5a73d1b0047b89f
GtkWindow: Move cairo_save/restore from marshaller

We do the save/restore when emitting ::draw rather than in a custom
marshaller, as this saves an extra stack frame, which is helpfull now
that we do painting fully recursive. This is also likely to save a few
cycles.
gtk/gtkwidget.c